package com.lynx.controller.model;

/**
 * @author chris.liu
 * @version 4/24/14 5:20 PM
 */
public class Result {
	public static final int RS_OK = 200; // 业务逻辑执行成功
	public static final int RS_FAIL = 400; // 业务逻辑执行错误
	public static final int RS_ERROR = 500; // 服务器内部错误

	private int statusCode;
	private Object data;

	public int getStatusCode() {
		return statusCode;
	}

	public void setStatusCode(int statusCode) {
		this.statusCode = statusCode;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
}
